<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<ui:composition>
	<h:form id="form">

		<rich:panel>
			<f:facet name="header">
				<h:outputText value="#{bundle['entityViews.machineryWorker.menuTitle']}" />
			</f:facet>
			<rich:dataTable value="#{dataModellingBean.allMachineryWorkers}" var="sel"
				id="dataModellingBean_selectiontable">
				<f:facet name="header">
					<rich:columnGroup>
						<rich:column width="200px">
							<h:outputText value="#{bundle['entities.person.firstName']}" />
						</rich:column>
						<rich:column width="200px">
							<h:outputText value="#{bundle['entities.person.lastName']}" />
						</rich:column>
						<rich:column width="200px">
							<h:outputText value="#{bundle['entities.roleType.name']}" />
						</rich:column>
					</rich:columnGroup>
				</f:facet>
				<rich:column width="200px">
					<h:outputText value="#{sel[0].person.firstName}" />
				</rich:column>
				<rich:column width="200px">
					<h:outputText value="#{sel[0].person.lastName}" />
				</rich:column>
				<rich:column width="200px">
					<h:outputText value="#{sel[1].roleType.name}" />
				</rich:column>
			</rich:dataTable>
		</rich:panel>

	</h:form>
</ui:composition>

</html>